<div class="module-tab tab-body">
    <div class="tab-inner tab-news">
        <p class="title-service-tab">
            <a href="" title="tìm kiếm">Tìm kiếm</a>
        </p>
    </div>
</div>
<div class="body-main-content body-content">
    <div class="detail-item">
        <?php if (!empty($mNews)) { ?>
            <div class="list-detail-item">
                <!--start news - item -->
                <?php
                $i = 0;
                foreach ($mNews as $mns) {
                    if ($i < 12) {
                        ?>
                        <div class="news-list-item clearfix">
                            <div class="news-img-item"><a title="<?php echo $mns->title_seo; ?>" href="<?php echo base_url() . $dataAliastt[$mns->id]->alias . '.html'; ?>"><img  src="<?php echo $mns->image; ?>" alt=""/></a></div>
                            <div class="conten-detail-item">
                                <h3><a class="a-item" title="<?php echo $mns->title_seo; ?>" href="<?php echo base_url() . $dataAliastt[$mns->id]->alias . '.html'; ?>"><?php echo $mns->title; ?></a></h3>
                                <!--p style="font-size: 13px; color: #FF1D00"><span style="color: #990000;">Ngày đăng</span>: <-?php echo mdate( '%d-%m-%Y',strtotime($mns->created));?></p-->
                                <div class="news-intro"><?php echo $mns->introtext; ?></div>
                            </div>
                        </div>
                        <?php
                        unset($mNews[$i]);
                    }
                    $i++;
                }
                ?>
                <!--end news - item -->
                <div class="clearfix"></div>
                <div class="page-rows"> <?php echo $this->pagination->create_links(); ?></div>
            </div>
        <?php } ?>
        <!-- end list-detail-item -->
    </div>
    <!-- start article-views-index -->
    <div class="article-views-index">
        <!-- start fancybox-article-index  -->
        <?php if (!empty($mNews)) { ?>
            <div class="fancybox-article-index">
                <div class="fancybox-title fancy-title-in">
                    <p>Bài viết được xem nhiều nhất.</p>
                </div>
                <div class="fancybox-article-center">
                    <ul>
                        <?php foreach ($mNews as $ms) { ?>
                            <li class="fanci-li"><a title="<?php echo $ms->title; ?>" href="<?php echo base_url() . $dataAliastt[$ms->id]->alias . '.html'; ?>"><?php echo $ms->title; ?></a></li>
                        <?php } ?>
                    </ul>
                </div>
            </div>
        <?php } ?>
        <!-- end fancybox-article-index  -->
        <!-- start mang xa hoi -->
        <div class="social-networking">

        </div>
        <!-- end mang xa hoi -->
    </div>
    <!-- end article-views-index -->
    <div class="clearfix"></div>

</div>
<div class="tab-detail-option hidden">

</div>
<div class="tab-detail-function hidden">

</div>

